﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class HoaDonBUS
    {
        public static bool ThemHoaDon(int MaPhieuThue, double TongTien, DateTime KetThuc)
        {
            HoaDonDAO dao = new HoaDonDAO();
            return dao.ThemHoaDon(MaPhieuThue, TongTien, KetThuc);
        }

        public static List<HoaDonInfo> LayDanhSachHoaDon()
        {
            HoaDonDAO dao = new HoaDonDAO();
            return dao.LayDanhSachHoaDon();
        }
    }
}
